package com.mvc.finance.model;

import javax.persistence.Entity;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;

import com.mvc.framework.model.CommonAuditableEntity;

@Entity(name = "B_EXPENSE_APPLY_ITEM")
public class ExpenseApplyItem extends CommonAuditableEntity {

	@NotNull
	private Integer	expenseApplyId;
	@NotNull
	private String	reason;
	@NotNull
	private Double	amount;
	@Length(max = 32)
	private String	receiver;
	@NotNull
	private Integer	type;
	@Length(max = 64)
	private String	bankName;
	@Length(max = 32)
	private String	bankAccountName;
	@Length(max = 32)
	private String	bankNo;

	@Length(max = 64)
	private String	bankBranchName;

	public Integer getExpenseApplyId() {
		return expenseApplyId;
	}

	public void setExpenseApplyId(Integer expenseApplyId) {
		this.expenseApplyId = expenseApplyId;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getBankAccountName() {
		return bankAccountName;
	}

	public void setBankAccountName(String bankAccountName) {
		this.bankAccountName = bankAccountName;
	}

	public String getBankNo() {
		return bankNo;
	}

	public void setBankNo(String bankNo) {
		this.bankNo = bankNo;
	}

	public String getBankBranchName() {
		return bankBranchName;
	}

	public void setBankBranchName(String bankBranchName) {
		this.bankBranchName = bankBranchName;
	}

}
